From 23fe20d4d1c659b72576f3ff7e67cb7f15deb5a2 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 15 Mar 2009 13:45:41 +0000 Subject: [PATCH] (bug 17992) Revert crack-inspired r48399. --- includes/GlobalFunctions.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 35d8f18212..2605ad002f 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2008,9 +2008,6 @@ function wfMkdirParents( $dir, $mode = null ) { if ( is_null( $mode ) ) $mode = $wgDirectoryMode; - if ( !is_writable( $dir ) ) { - return false; - } return mkdir( $dir, $mode, true ); // PHP5 <3 } -- 2.20.1